import {createRouter,createWebHistory,RouteRecordRaw} from 'vue-router'


const routes:Array<RouteRecordRaw>=[
    {
        path:'/',
        name:'index',
        component:()=>import('../components/HelloWorld.vue')
    },
    {
        path:'/MeberAdd',
        name:'MeberAdd',
        component:()=>import('../views/MeberAdd.vue')
    },
    {
        path:'/MeberShow',
        name:'MeberShow',
        component:()=>import('../views/MeberShow.vue')
    }
];

const router=createRouter({
    history:createWebHistory(),
    routes
})


export default router